package com.tianji.promotion.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.tianji.common.domain.dto.PageDTO;
import com.tianji.promotion.domain.po.Coupon;
import com.tianji.promotion.domain.po.query.CouponQuery;
import com.tianji.promotion.domain.vo.CouponVO;

import java.util.List;

/**
 * <p>
 * 优惠券的规则信息 服务类
 * </p>
 *
 * @author zt
 * @since 2024-09-20
 */
public interface ICouponService extends IService<Coupon> {

    void saveCoupon(com.tianji.promotion.domain.po.dto.CouponFormDTO dto);


    PageDTO<com.tianji.promotion.domain.po.vo.CouponPageVO> queryCouponPage(CouponQuery query);


    void issueCoupon(Long id, com.tianji.promotion.domain.po.dto.CouponIssueFormDTO dto);

    List<CouponVO> queryIssuingCoupon();
}
